// 7_9.c
#include <stdio.h>

void swap(float *, float *); /*function prototype*/

int main()
{
    float firstnum = 20.0, secnum = 5.0;
    swap(&firstnum, &secnum);

    return 0;
}

void swap(float *num1Addr, float *num2Addr)
{
    printf("The number pointed to by num1Addr is %5.2f\n", *num1Addr);
    printf("The number pointed to by num2Addr is %5.2f\n", *num2Addr);
}